package com.ctgu.server.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.ctgu.server.dao.dto.UserDto;
import com.ctgu.server.dao.entity.User;
import com.ctgu.server.dao.vo.Result;
import com.ctgu.server.dao.vo.UserVo;
import org.springframework.web.multipart.MultipartFile;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ctgu
 * @since 2023-05-17
 */
public interface UserService extends IService<User> {


    Result UserLogin(Map<String, Object> map);

//    Result userRegister(RegisterDto registerDto);

    Result getUserInfo(String id);

    Result updateByUserId(UserDto uservo);

    Result uploadUserAvatar(String id, MultipartFile multipartFile);
//
//    Result updateUserByUName(User user);
}
